/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dieci.system;

import dieci.database.PersistentObject;

/**
 *
 * @author Blanco
 */
public class ReturnDetails implements PersistentObject {
    private long returnId;
    private long productId;
    private int amount;
    
    public ReturnDetails()
    {
    }

    public ReturnDetails(long productId, int amount)
    {
        this.productId = productId;
        this.amount = amount;
    }

    public ReturnDetails(long returnId, long productId, int amount)
    {
        this(productId,amount);
        this.returnId = returnId;        
    }

    public long getReturnId() {
        return returnId;
    }

    public void setReturnId(long returnId) {
        this.returnId = returnId;
    }

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }
    
}
